package org.meow.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * &#064;Date: 24/05/05-17:01
 * &#064;Description:
 */
@Component
@ConfigurationProperties(prefix = "meow.jwt")
@Data
public class JwtProperties {

  private String tokenName;

  private String adminSecretKey;
  private long   adminTtl;

  private String userSecretKey;
  private long   userTtl;

}
